package com.javaclimb.filmbuy.dao;

import com.javaclimb.filmbuy.entity.LinkInfo;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;
import tk.mybatis.mapper.common.Mapper;

import java.util.List;

/**
 * 友情链接dao层
 */
@Repository
    public interface LinkInfoDao extends Mapper<LinkInfo> {
    /*根据网站名称查询列表*/
    List<LinkInfo> findByName(@Param("name") String name);
}

